scalar and vector products